<?php
/**
 * Created by PhpStorm.
 * User: boye009
 * Date: 2016/4/12
 * Time: 9:28
 */

namespace app\shop\api;

use app\common\api\BaseApi;
use app\shop\model\ProductFaq;
use app\extend\Page;

class ProductFaqApi extends BaseApi{

    /**
     * 查询，不分页
     */
    const QUERY_NO_PAGING = "shop/ProductFaqApi/queryNoPaging";
    /**
     * 添加
     */
    const ADD = "shop/ProductFaqApi/add";
    /**
     * 保存
     */
    const SAVE = "shop/ProductFaqApi/save";
    /**
     * 保存根据ID主键
     */
    const SAVE_BY_ID = "shop/ProductFaqApi/saveByID";

    /**
     * 删除
     */
    const DELETE = "shop/ProductFaqApi/delete";

    /**
     * 查询
     */
    const QUERY = "shop/ProductFaqApi/query";

    /**
     * 查询
     */
    const QUERY_WITH_COUNT = "shop/ProductFaqApi/queryWithCount";
    /**
     * 查询一条数据
     */
    const GET_INFO = "shop/ProductFaqApi/getInfo";

    /**
     * 统计
     */
    const COUNT = "shop/ProductFaqApi/count";

    protected function _init(){
        $this -> model = new ProductFaq();
    }

}